@echo off

set /p env_setting=env path (type 0 to skip) : 

if "%env_setting%" == "0" goto :main2
goto :main1

:main1

echo set rp_path=%env_setting%> ".\..\env.bat"
echo create env.bat
goto :main3

:main2

echo not create env.bat
goto :main3

:main3

set /p rp_name_setting=rp file name(no need ".rp") (type 0 to skip) : 

if "%rp_name_setting%" == "0" goto :main5
goto :main4

:main4

echo set rp_name=%rp_name_setting%.rp> ".\..\rp_Name.bat"
echo create rp_Name.bat
goto :main6

:main5

echo not create rp_Name.bat
goto :main6

:main6

echo everything is ok

pause